import Layout from '@/layout'

const myaccountRouter = {
  alwaysShow: true,
  path: '/myaccount',
  component: Layout,
  redirect: '',
  name: 'Myaccount',
  meta: {
    title: '账户管理',
    icon: '系统管理'
  },
  children: [
    {
      path: 'editprofile',
      component: () => import('@/views/myaccount'),
      name: 'editProfile',
      meta: { title: '总校资料', noCache: true, icon: '提现管理' },
      children:[
        {
          path: 'merchantEdit/:id',
          component: () => import('@/views/myaccountEdit/merchantEdit'),
          name: 'MerchantEdit',
          meta: { title: '总校编辑' },
          hidden: true
        }
      ]
    }
  ]
}

export default myaccountRouter
